package com.hailong.zyt.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hailong.zyt.beans.CourseUncheck;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hailong
 * @since 2021-06-08
 */
public interface CourseUncheckService extends IService<CourseUncheck> {

    /**
     * 获取学生选课请求
     * */
    IPage<CourseUncheck> getRequestList(Long teaId, Integer pn);

    /**
     * 同意选课
     * */
    void acceptChosen(Long couId, Long teaId, Long stuId);

    /**
     * 拒绝选课
     * */
    void refuseChosen(Long couId, Long teaId, Long stuId);
}
